<!--
 * @Descripttion: 大二一名学习前端开发的计科学生，缓慢成长中！
 * @emial: 2392862431@qq.com
 * @Author: SummerSofts
 * @Date: 2023-08-12 20:13:07
 * @LastEditors: SummerSofts
 * @LastEditTime: 2023-08-12 20:14:54
-->
<template>
<div>
    <wmSelect :listArr="addressList" @change="getData"></wmSelect>
    <div>{{ currentValue }}</div>
</div>

</template>


<script setup>
import {ref,reactive,onMounted} from "vue"
import {useRoute,useRouter} from "vue-router"
let currentValue = ref('')
let getData = (e)=>{
   currentValue.value = e
}
let addressList = reactive([
   {
      label:'南昌',
      value:'nanchang',
      disabled:true
   },
   {
      label:'合肥',
      value:'hefei'
   },
   {
      label:'长沙',
      value:'changsha',
      disabled:true
   },
   {
      label:'成都',
      value:'chengdu'
   },
])
</script>


<style lang="less" scoped>

</style>
